// samsting : this file is auto create.

#include "Slb/2014-05-15/SetLoadBalancerHTTPSListenerAttributeRequest.h"

namespace aliyun { namespace Slb {

SetLoadBalancerHTTPSListenerAttributeRequest::SetLoadBalancerHTTPSListenerAttributeRequest() : RpcAcsRequest("Slb", "2014-05-15", "SetLoadBalancerHTTPSListenerAttribute") {
}

int64 SetLoadBalancerHTTPSListenerAttributeRequest::GetOwnerId(void) const {
  return OwnerId_;
}
void SetLoadBalancerHTTPSListenerAttributeRequest::SetOwnerId(int64 OwnerId) {
  OwnerId_ = OwnerId;
  PutQueryParameter("OwnerId", string_ValueOfInt64(OwnerId_));
}

const string& SetLoadBalancerHTTPSListenerAttributeRequest::GetResourceOwnerAccount(void) const {
  return ResourceOwnerAccount_;
}
void SetLoadBalancerHTTPSListenerAttributeRequest::SetResourceOwnerAccount(const string& ResourceOwnerAccount) {
  ResourceOwnerAccount_ = ResourceOwnerAccount;
  PutQueryParameter("ResourceOwnerAccount", ResourceOwnerAccount_);
}

int64 SetLoadBalancerHTTPSListenerAttributeRequest::GetResourceOwnerId(void) const {
  return ResourceOwnerId_;
}
void SetLoadBalancerHTTPSListenerAttributeRequest::SetResourceOwnerId(int64 ResourceOwnerId) {
  ResourceOwnerId_ = ResourceOwnerId;
  PutQueryParameter("ResourceOwnerId", string_ValueOfInt64(ResourceOwnerId_));
}

const string& SetLoadBalancerHTTPSListenerAttributeRequest::GetLoadBalancerId(void) const {
  return LoadBalancerId_;
}
void SetLoadBalancerHTTPSListenerAttributeRequest::SetLoadBalancerId(const string& LoadBalancerId) {
  LoadBalancerId_ = LoadBalancerId;
  PutQueryParameter("LoadBalancerId", LoadBalancerId_);
}

int SetLoadBalancerHTTPSListenerAttributeRequest::GetListenerPort(void) const {
  return ListenerPort_;
}
bool SetLoadBalancerHTTPSListenerAttributeRequest::SetListenerPort(int ListenerPort) {
  if(ListenerPort < 1) {
    return false;
  }
  if(ListenerPort > 65535) {
    return false;
  }
  ListenerPort_ = ListenerPort;
  PutQueryParameter("ListenerPort", string_ValueOfInt(ListenerPort_));
  return true;
}

int SetLoadBalancerHTTPSListenerAttributeRequest::GetBandwidth(void) const {
  return Bandwidth_;
}
bool SetLoadBalancerHTTPSListenerAttributeRequest::SetBandwidth(int Bandwidth) {
  if(Bandwidth < -1) {
    return false;
  }
  if(Bandwidth > 1000) {
    return false;
  }
  Bandwidth_ = Bandwidth;
  PutQueryParameter("Bandwidth", string_ValueOfInt(Bandwidth_));
  return true;
}

const string& SetLoadBalancerHTTPSListenerAttributeRequest::GetXForwardedFor(void) const {
  return XForwardedFor_;
}
void SetLoadBalancerHTTPSListenerAttributeRequest::SetXForwardedFor(const string& XForwardedFor) {
  XForwardedFor_ = XForwardedFor;
  PutQueryParameter("XForwardedFor", XForwardedFor_);
}

const string& SetLoadBalancerHTTPSListenerAttributeRequest::GetScheduler(void) const {
  return Scheduler_;
}
void SetLoadBalancerHTTPSListenerAttributeRequest::SetScheduler(const string& Scheduler) {
  Scheduler_ = Scheduler;
  PutQueryParameter("Scheduler", Scheduler_);
}

const string& SetLoadBalancerHTTPSListenerAttributeRequest::GetStickySession(void) const {
  return StickySession_;
}
void SetLoadBalancerHTTPSListenerAttributeRequest::SetStickySession(const string& StickySession) {
  StickySession_ = StickySession;
  PutQueryParameter("StickySession", StickySession_);
}

const string& SetLoadBalancerHTTPSListenerAttributeRequest::GetStickySessionType(void) const {
  return StickySessionType_;
}
void SetLoadBalancerHTTPSListenerAttributeRequest::SetStickySessionType(const string& StickySessionType) {
  StickySessionType_ = StickySessionType;
  PutQueryParameter("StickySessionType", StickySessionType_);
}

int SetLoadBalancerHTTPSListenerAttributeRequest::GetCookieTimeout(void) const {
  return CookieTimeout_;
}
bool SetLoadBalancerHTTPSListenerAttributeRequest::SetCookieTimeout(int CookieTimeout) {
  if(CookieTimeout < 1) {
    return false;
  }
  if(CookieTimeout > 86400) {
    return false;
  }
  CookieTimeout_ = CookieTimeout;
  PutQueryParameter("CookieTimeout", string_ValueOfInt(CookieTimeout_));
  return true;
}

const string& SetLoadBalancerHTTPSListenerAttributeRequest::GetCookie(void) const {
  return Cookie_;
}
void SetLoadBalancerHTTPSListenerAttributeRequest::SetCookie(const string& Cookie) {
  Cookie_ = Cookie;
  PutQueryParameter("Cookie", Cookie_);
}

const string& SetLoadBalancerHTTPSListenerAttributeRequest::GetHealthCheck(void) const {
  return HealthCheck_;
}
void SetLoadBalancerHTTPSListenerAttributeRequest::SetHealthCheck(const string& HealthCheck) {
  HealthCheck_ = HealthCheck;
  PutQueryParameter("HealthCheck", HealthCheck_);
}

const string& SetLoadBalancerHTTPSListenerAttributeRequest::GetHealthCheckDomain(void) const {
  return HealthCheckDomain_;
}
void SetLoadBalancerHTTPSListenerAttributeRequest::SetHealthCheckDomain(const string& HealthCheckDomain) {
  HealthCheckDomain_ = HealthCheckDomain;
  PutQueryParameter("HealthCheckDomain", HealthCheckDomain_);
}

const string& SetLoadBalancerHTTPSListenerAttributeRequest::GetHealthCheckURI(void) const {
  return HealthCheckURI_;
}
void SetLoadBalancerHTTPSListenerAttributeRequest::SetHealthCheckURI(const string& HealthCheckURI) {
  HealthCheckURI_ = HealthCheckURI;
  PutQueryParameter("HealthCheckURI", HealthCheckURI_);
}

int SetLoadBalancerHTTPSListenerAttributeRequest::GetHealthyThreshold(void) const {
  return HealthyThreshold_;
}
bool SetLoadBalancerHTTPSListenerAttributeRequest::SetHealthyThreshold(int HealthyThreshold) {
  if(HealthyThreshold < 1) {
    return false;
  }
  if(HealthyThreshold > 10) {
    return false;
  }
  HealthyThreshold_ = HealthyThreshold;
  PutQueryParameter("HealthyThreshold", string_ValueOfInt(HealthyThreshold_));
  return true;
}

int SetLoadBalancerHTTPSListenerAttributeRequest::GetUnhealthyThreshold(void) const {
  return UnhealthyThreshold_;
}
bool SetLoadBalancerHTTPSListenerAttributeRequest::SetUnhealthyThreshold(int UnhealthyThreshold) {
  if(UnhealthyThreshold < 1) {
    return false;
  }
  if(UnhealthyThreshold > 10) {
    return false;
  }
  UnhealthyThreshold_ = UnhealthyThreshold;
  PutQueryParameter("UnhealthyThreshold", string_ValueOfInt(UnhealthyThreshold_));
  return true;
}

int SetLoadBalancerHTTPSListenerAttributeRequest::GetHealthCheckTimeout(void) const {
  return HealthCheckTimeout_;
}
bool SetLoadBalancerHTTPSListenerAttributeRequest::SetHealthCheckTimeout(int HealthCheckTimeout) {
  if(HealthCheckTimeout < 1) {
    return false;
  }
  if(HealthCheckTimeout > 50) {
    return false;
  }
  HealthCheckTimeout_ = HealthCheckTimeout;
  PutQueryParameter("HealthCheckTimeout", string_ValueOfInt(HealthCheckTimeout_));
  return true;
}

int SetLoadBalancerHTTPSListenerAttributeRequest::GetHealthCheckInterval(void) const {
  return HealthCheckInterval_;
}
bool SetLoadBalancerHTTPSListenerAttributeRequest::SetHealthCheckInterval(int HealthCheckInterval) {
  if(HealthCheckInterval < 1) {
    return false;
  }
  if(HealthCheckInterval > 5) {
    return false;
  }
  HealthCheckInterval_ = HealthCheckInterval;
  PutQueryParameter("HealthCheckInterval", string_ValueOfInt(HealthCheckInterval_));
  return true;
}

int SetLoadBalancerHTTPSListenerAttributeRequest::GetHealthCheckConnectPort(void) const {
  return HealthCheckConnectPort_;
}
bool SetLoadBalancerHTTPSListenerAttributeRequest::SetHealthCheckConnectPort(int HealthCheckConnectPort) {
  if(HealthCheckConnectPort < -520) {
    return false;
  }
  if(HealthCheckConnectPort > 65535) {
    return false;
  }
  HealthCheckConnectPort_ = HealthCheckConnectPort;
  PutQueryParameter("HealthCheckConnectPort", string_ValueOfInt(HealthCheckConnectPort_));
  return true;
}

const string& SetLoadBalancerHTTPSListenerAttributeRequest::GetHealthCheckHttpCode(void) const {
  return HealthCheckHttpCode_;
}
void SetLoadBalancerHTTPSListenerAttributeRequest::SetHealthCheckHttpCode(const string& HealthCheckHttpCode) {
  HealthCheckHttpCode_ = HealthCheckHttpCode;
  PutQueryParameter("HealthCheckHttpCode", HealthCheckHttpCode_);
}

const string& SetLoadBalancerHTTPSListenerAttributeRequest::GetServerCertificateId(void) const {
  return ServerCertificateId_;
}
void SetLoadBalancerHTTPSListenerAttributeRequest::SetServerCertificateId(const string& ServerCertificateId) {
  ServerCertificateId_ = ServerCertificateId;
  PutQueryParameter("ServerCertificateId", ServerCertificateId_);
}

int SetLoadBalancerHTTPSListenerAttributeRequest::GetMaxConnLimit(void) const {
  return MaxConnLimit_;
}
void SetLoadBalancerHTTPSListenerAttributeRequest::SetMaxConnLimit(int MaxConnLimit) {
  MaxConnLimit_ = MaxConnLimit;
  PutQueryParameter("MaxConnLimit", string_ValueOfInt(MaxConnLimit_));
}

const string& SetLoadBalancerHTTPSListenerAttributeRequest::GetOwnerAccount(void) const {
  return OwnerAccount_;
}
void SetLoadBalancerHTTPSListenerAttributeRequest::SetOwnerAccount(const string& OwnerAccount) {
  OwnerAccount_ = OwnerAccount;
  PutQueryParameter("OwnerAccount", OwnerAccount_);
}


} } // namespace aliyun { namespace Slb {

// end of file 
